<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="java.util.*"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://www.helloblog.com/jsp/jstl/functions" prefix="ft"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户列表</title>
</head>
<body>
<c:if test="${user!=null}">
欢迎您：${user.username},<c:if test="${user.lastlogintime!=null}">您上次登陆的时间是:${ft:dateFormat(user.lastlogintime,"YYYY年MM月dd日 HH:mm:ss")},</c:if><c:if test="${user.lastloginip!=null}">您上次登录的ip地址是:${user.lastloginip} </c:if>    
</c:if>  
<c:if test="${user==null}">
您还没有登陆，请<a href="${base}/login.do">登录</a>
</c:if>   
<c:if test="${user!=null}">     
	<c:if test="${user.is_openblog==0}"><a href="${base}/openBlog.do">这里</a>开通</c:if>
	<c:if test="${user.is_openblog==1}"><a href="${base}/release.do">写博客</a></c:if>
<a href="${base}/user_main.do?method=logout">退出登录</a>
</c:if>
<hr>
修改您的个人资料-----

</body>
</html>